package com.zmytest.service;

import com.zmytest.dto.ResponseDto;

/**
 * Created on 2018/12/21.
 *
 * @author zhangmingyu
 */
public interface CacheService {

    ResponseDto<Object> create(Object key, Object value);

    ResponseDto<Object> create(Object key, Object value,Long expireTime);

    ResponseDto<Object> find(Object key);

    ResponseDto<String> delete(Object key);
}
